package com.jin.lazytool.utils;

public class ConfigUtils {

    public static String MOUSE_MOVE_TIME_KEY = "MOUSE_MOVE_TIME_KEY";
    public static String MOUSE_DRAG_TIME_KEY = "MOUSE_DRAG_TIME_KEY";

    public static Integer getMouseMoveTime(){
        Object o = DataUtils.getConfig().get(MOUSE_MOVE_TIME_KEY);
        if(o == null){
            return 1000;
        }
        return (Integer)o;
    }
    public static Integer getMouseDragTime(){
        Object o = DataUtils.getConfig().get(MOUSE_DRAG_TIME_KEY);
        if(o == null){
            return 10;
        }
        return (Integer)o;
    }
}
